package com.kaf.ai.service;

import com.kaf.ai.dto.AiRequest;
import com.kaf.ai.dto.AiResponse;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.util.Map;

public interface AiService {

    Mono<AiResponse> generateResponse(AiRequest request);

    Flux<String> streamCompletion(Map<String, Object> requestBody);
}
